package com.ruoyi.activityLog.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 活动记录对象 activity_log
 * 
 * @author ruoyi
 * @date 2025-10-14
 */
public class ActivityLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Excel(name = "序号")
    private Long id;

    /** 活动 */
    @Excel(name = "活动")
    private Long activityId;

    /** 用户 */
    @Excel(name = "用户")
    private Long userId;

    /** 姓名 */
    private String name;

    /** 邀请人id */
    @Excel(name = "邀请人id")
    private Long yqUserId;

    /** 头像 */
    private String imageUrl;

    /** 活动类型 */
    @Excel(name = "活动类型")
    private String type;

    /** 状态（0待审核 1审核成功 2审核失败） */
    @Excel(name = "状态", readConverterExp = "0=待审核,1=审核成功,2=审核失败")
    private String status;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setActivityId(Long activityId) 
    {
        this.activityId = activityId;
    }

    public Long getActivityId() 
    {
        return activityId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setYqUserId(Long yqUserId) 
    {
        this.yqUserId = yqUserId;
    }

    public Long getYqUserId() 
    {
        return yqUserId;
    }

    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("activityId", getActivityId())
            .append("userId", getUserId())
            .append("name", getName())
            .append("yqUserId", getYqUserId())
            .append("imageUrl", getImageUrl())
            .append("type", getType())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
